package cn.com.kgc;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

public class MyThread extends Thread{
    public void run(){
        System.out.println(Thread.currentThread().getName());
        //System.out.println(this.getName());
    }

    public static void main(String[] args) {
        MyThread t1=new MyThread();
        MyThread t2=new MyThread();
        t1.setName("奥特曼");
        t2.setName("怪兽");
        t1.start();
        t2.start();

    }
}
